OrmLiteAuthRepositoryMultitenancy<TUserAuth, TUserAuthDetails>
Assembly: ServiceStack.Server.dll
View Source
Declaration
public class OrmLiteAuthRepositoryMultitenancy<TUserAuth, TUserAuthDetails> : OrmLiteAuthRepositoryBase<TUserAuth, TUserAuthDetails>, IUserAuthRepository, IAuthRepository, IRequiresSchema, IClearable, IManageRoles, IManageApiKeys, ICustomUserAuth, IQueryUserAuth, IUserAuthRepositoryAsync, IAuthRepositoryAsync, IClearableAsync, IManageRolesAsync, IManageApiKeysAsync, IQueryUserAuthAsync, IManageSourceRolesAsync where TUserAuth : class, IUserAuth where TUserAuthDetails : class, IUserAuthDetails
Methods
Exec(Action<IDbConnection>)
View Source
Declaration
public override void Exec(Action<IDbConnection> fn)
Parameters
| Type | Name |
|---|---|
Action<IDbConnection> | fn |
Exec<T>(Func<IDbConnection, T>)
View Source
Declaration
public override T Exec<T>(Func<IDbConnection, T> fn)
Returns
<T>
Parameters
| Type | Name |
|---|---|
Func<IDbConnection,<T>> | fn |
Type Parameters
T
EachDb(Action<IDbConnection>)
View Source
Declaration
public void EachDb(Action<IDbConnection> fn)
Parameters
| Type | Name |
|---|---|
Action<IDbConnection> | fn |
InitSchema()
View Source
Declaration
public override void InitSchema()
DropSchema()
View Source
Declaration
public override void DropSchema()
DropAndReCreateTables()
View Source
Declaration
public override void DropAndReCreateTables()
InitApiKeySchema()
View Source
Declaration
public override void InitApiKeySchema()
DropApiKeySchema()
View Source
Declaration
public override void DropApiKeySchema()
Dispose()
View Source
Declaration
public void Dispose()
ExecAsync(Func<IDbConnection, Task>)
View Source
Declaration
public override async Task ExecAsync(Func<IDbConnection, Task> fn)
Returns
Task
Parameters
| Type | Name |
|---|---|
Func<IDbConnection,Task> | fn |
ExecAsync<T>(Func<IDbConnection, Task<T>>)
View Source
Declaration
public override async Task<T> ExecAsync<T>(Func<IDbConnection, Task<T>> fn)
Returns
Task<<T>>
Parameters
| Type | Name |
|---|---|
Func<IDbConnection,Task<<T>>> | fn |
Type Parameters
T
EachDb(Func<IDbConnection, Task>)
View Source
Declaration
public async Task EachDb(Func<IDbConnection, Task> fn)
Returns
Task
Parameters
| Type | Name |
|---|---|
Func<IDbConnection,Task> | fn |
DisposeAsync()
View Source
Declaration
public async ValueTask DisposeAsync()
Returns
ValueTask
Implements
- ServiceStack.Auth.IUserAuthRepository
- ServiceStack.Auth.IAuthRepository
- ServiceStack.IRequiresSchema
- ServiceStack.Auth.IClearable
- ServiceStack.Auth.IManageRoles
- ServiceStack.Auth.IManageApiKeys
- ServiceStack.Auth.ICustomUserAuth
- ServiceStack.Auth.IQueryUserAuth
- ServiceStack.Auth.IUserAuthRepositoryAsync
- ServiceStack.Auth.IAuthRepositoryAsync
- ServiceStack.Auth.IClearableAsync
- ServiceStack.Auth.IManageRolesAsync
- ServiceStack.Auth.IManageApiKeysAsync
- ServiceStack.Auth.IQueryUserAuthAsync
- ServiceStack.Auth.IManageSourceRolesAsync
IDisposableIAsyncDisposable